package com.qfedu.knowledge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qfedu.knowledge.entity.bo.FileInfoBO;
import org.springframework.http.ResponseEntity;

import java.util.List;

/**
 * @ClassName IFileService
 * @Author ykx
 * @Date 2024/5/3 11:21
 * @Version 1.0
 */
public interface IFileService extends IService<FileInfoBO> {
    List<FileInfoBO> getFileList(Long questionId);

    ResponseEntity<byte[]> download(String downloadUrl, String name);

    List<FileInfoBO> getHomeImage();

}
